import { http } from "../utils/http";

/**
 * @description: 查询质押活动的详情
 */
export const getPledgeAccountInfo = http.Post(
  "/msa/traded-api-bdc/pledge/acr/queryPledgeAccountInfo"
);

/**
 * @description: 查询质押充值档位
 */
export const getPledgeRechargeGear = http.Post(
  "/msa/traded-api-bdc/pledge/acr/pledgeRechargeGear"
);

/**
 * @description: 质押
 */
export const stake = http.Post(
  "/msa/traded-api-bdc/pledge/acr/stake"
);

/**
 * @description: 取消质押
 */
export const unstake = http.Post(
  "/msa/traded-api-bdc/pledge/acr/unstake"
);

/**
 * @description: 领取收益
 */
export const claimStakeProfit = http.Post(
  "/msa/traded-api-bdc/pledge/acr/claimStakeProfit"
);

/**
 * @description: 质押入口
 */
export const queryPledgeConfig = http.Post(
  "/msa/traded-api-bdc/pledge/acr/queryPledgeConfig"
);

/**
 * @description: 近7日BDC入账
 */
export const recentIncome = http.Post(
  "/msa/traded-api-bdc/account/acr/recentIncome"
);

/**
 * @description: 质押收益率记录-分页查询
 */
export const getPledgeRateRecord = http.Post(
  "/msa/traded-api-bdc/pledge/acr/pagePledgeRateRecord"
);


